package com.hc.conferencecheck.entity.entityDTO;

import com.hc.conferencecheck.entity.ConferenceAddress;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 用于映射会议详情的自定义类（包含分会场集合）
 */
public class ConferenceDetailDTO02 {
    //会议ID
    private int conferenceId;

    //会议名称
    private String name;
    //会费
    private BigDecimal cost;
    //周期
    private String cycle;

    private List<ConferenceAddress> addressList = new ArrayList<>();

    @Override
    public String toString() {
        return "ConferenceDetailDTO02{" +
                "conferenceId=" + conferenceId +
                ", name='" + name + '\'' +
                ", cost=" + cost +
                ", cycle=" + cycle + '\'' +
                ", addressList=" + addressList +
                '}';
    }

    public int getConferenceId() {
        return conferenceId;
    }

    public void setConferenceId(int conferenceId) {
        this.conferenceId = conferenceId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public List<ConferenceAddress> getAddressList() {
        return addressList;
    }

    public void setAddressList(List<ConferenceAddress> addressList) {
        this.addressList = addressList;
    }
}
